home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Sound Cards
/
Programming Sound Cards.iso
/
sound_78
/
snddemo.doc
< prev
next >
Wrap
Text File
|
1995-01-01
|
2KB
|
39 lines
Snddemo - Sound Effects Demo.
Snddemo is an interactive function evaluation/development
program. You can use Snddemo to evaluate the functions in
the Sefx library or as a development tool for finding the
parameters that create the desired sound effect. The later
use can save time by avoiding the recompile trial and error
method.
The parameters to the sound generation functions can be changed
on the fly in the editing fields. Notice that any sound in the
sound queue continues to play while you edit the fields. The
parameters, if any, to the control functions are cycled/toggled
when the function is invoked.
All the functions are invoked by F-keys. When the sound
generation functions are invoked, the current parameters are
used even if it is currently being edited.
The source code for Snddemo is provided for your inspection.
It is, however, compiled with function that are exclusive to
the Borland/Turbo C run time library. Specifically those prototyped
in conio.h. If you have similar functions in your C compiler's run
time library or you have an extended windows library, you could easily
replace them. There are not that many. They are as follows:
gotoxy() - Locates the cursor.
_setcursortype() - Sets the cursor type
clrscr() - Clears the window.
textattr() - Sets the text attributes.
cprintf() - similar to printf()
cputs() - similar to puts()
putch() - puts a single char